#ifndef PARA_H
#define PARA_H

#include <QString>

namespace SDHuaYi_Script
{

    enum EnumParaType
    {
        PARA_INTEGER = 0,
        PARA_STRING,
        PARA_DEFINE
    };

    class Para
    {
    public:
        EnumParaType Type = PARA_STRING;
        QString Name;
        QString Value;

        Para(QString name, QString val, EnumParaType Type = PARA_STRING)
            : Name(name.trimmed()), Value(val.trimmed()),
              Type(Type)
        {
        }
    };
}

#endif // PARA_H
